home *** CD-ROM | disk | FTP | other *** search
/ Kompuutteri K-CD 2002 #1 / K-CD_2002-01.iso / Delphi / INSTALL / program files / Borland / Delphi6 / Doc / AppEvnts.int < prev    next >
Encoding:
Text File  |  2001-05-22  |  1.7 KB  |  58 lines

  1.  
  2. {*******************************************************}
  3. {                                                       }
  4. {       Borland Delphi Visual Component Library         }
  5. {                                                       }
  6. {  Copyright (c) 1995-2001 Borland Software Corporation }
  7. {                                                       }
  8. {*******************************************************}
  9.  
  10. unit AppEvnts;
  11.  
  12. interface
  13.  
  14. uses Windows, Messages, SysUtils, Classes, Forms, ActnList;
  15.  
  16. type
  17.   TCustomApplicationEvents = class(TComponent)
  18.   protected
  19.     property OnActionExecute: TActionEvent;
  20.     property OnActionUpdate: TActionEvent;
  21.     property OnActivate: TNotifyEvent;
  22.     property OnDeactivate: TNotifyEvent;
  23.     property OnException: TExceptionEvent;
  24.     property OnIdle: TIdleEvent;
  25.     property OnHelp: THelpEvent;
  26.     property OnHint: TNotifyEvent;
  27.     property OnMessage: TMessageEvent;
  28.     property OnMinimize: TNotifyEvent;
  29.     property OnRestore: TNotifyEvent;
  30.     property OnShowHint: TShowHintEvent;
  31.     property OnShortCut: TShortCutEvent;
  32.     property OnSettingChange: TSettingChangeEvent;
  33.   public
  34.     constructor Create(AOwner: TComponent); override;
  35.     procedure Activate;
  36.     procedure CancelDispatch;
  37.   end;
  38.  
  39.   TApplicationEvents = class(TCustomApplicationEvents)
  40.   published
  41.     property OnActionExecute;
  42.     property OnActionUpdate;
  43.     property OnActivate;
  44.     property OnDeactivate;
  45.     property OnException;
  46.     property OnIdle;
  47.     property OnHelp;
  48.     property OnHint;
  49.     property OnMessage;
  50.     property OnMinimize;
  51.     property OnRestore;
  52.     property OnShowHint;
  53.     property OnShortCut;
  54.     property OnSettingChange;
  55.   end;
  56.  
  57. implementation
  58.